package com.scrcu.cloud.wechat.home.endpoint.staff.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value ="staff_info")
public class StaffInfo implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 82136354123879L;

    @TableId(value = "staff_id")
    private String staffId;

    private String openid;
    private String userid;

    private String oanum;
    private String name;
    private String telnum;
    private String idcard;

    private String orcode;  //机构号

    @TableField(value="map_id")
    private String mapId;  //营业网点id

    @TableField(value="create_time")
    private LocalDateTime createTime;

    private int priority;  // 0是基本权限  1是领导权限  2是管理员权限  3是超级管理权限

    private String city;
    private String area;

    private String department; //部门信息
    private String post; //岗位

}
